libotutil: Fix mistaken return of TRUE in error path
authorColin Walters <walters@verbum.org>
Tue, 8 Apr 2014 22:15:52 +0000 (18:15 -0400)
committerColin Walters <walters@verbum.org>
Wed, 9 Apr 2014 05:51:43 +0000 (01:51 -0400)
Gah, must have been a refactoring bug.

src/libotutil/ot-gio-utils.c

index 6acb66de5326bbbf8913a2f29a7f5fd19f3f9e71..643939c3581e02b12fa61f17dc626df4b5f2c349 100644 (file)
@@ -248,7 +248,7 @@ ot_gfile_load_contents_utf8_allow_noent (GFile          *path,
                                          GCancellable   *cancellable,
                                          GError        **error)
 {
-  gboolean ret = TRUE;
+  gboolean ret = FALSE;
   GError *temp_error = NULL;
   gs_free char *ret_contents = NULL;